package cn.tedu.overhaul.management.dto.persist.mapper;

import cn.tedu.overhaul.management.pojo.entity.Overhaul;
import cn.tedu.overhaul.management.pojo.vo.*;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/*
* 处理检查管理数据的Mapper接口
* */

@Repository
public interface OverhaulMapper extends BaseMapper<Overhaul> {
    int insert(OverhaulVO overhaulVO);
    List<ToolNameVO> selectListByTool();
    List<ToolNumberVO> selectListByNumber(String name);
    int updateStatus(Integer status,Long id);
    String selectToolName(Long id);
    String selectToolNumber(Long id);
    List<MaintainUserIdVO> selectMaintain();
    MaintainStandardVO getStandardById(Long id);
    int updateById(OverhaulVO overhaulVO);






}
